/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package randomGeneration;

import java.math.BigDecimal;


/**
 *
 * @author mimi
 */
public class GenerateSeed {

    public long[] generateSeed() {
        long x = 1;
        long[] vector = new long[60];
        vector[0] = 1;
        int index = 1;
        for (int i = 1; i < 100000 * 10 * 6; i++) {
            x =(long) ((long) (Math.pow(7, 5) * x) % (Math.pow(2, 31) - 1));
            if ((i % 100000) == 0) {
                vector[index] = x;
                index = index + 1;
            }
        }
        return vector;
    }

    public static void main(String[] args) {
        GenerateSeed gs = new GenerateSeed();
        long [] seeds = gs.generateSeed();
        for (int i = 0; i < seeds.length; i++) {
            if(i%6 == 0)
                System.out.println();
            double d = seeds[i];
            System.out.print(new BigDecimal(d) + ",");
        }

        System.out.println();
    }
}
